package com.tensquare.recruit.controller;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * ------------------------------
 * 功能：
 * 作者：WF
 * 微信：hbxfwf13590332912
 * 创建时间：2021/9/4-16:10
 * ------------------------------
 */
@RestController
public class ResultController {

    @RequestMapping("/flow/exception")
    public AjaxResult index(){
        Map map = new HashMap<>();
        map.put("msg","处于限流阻塞状态！");
        return AjaxResult.error("error",map);
    }
}
